@echo off

echo ************************************************************
echo Please enter the project number to produce correct OTA packet:
echo (It will read PROJECT_NUM automatically from user_config in code if you enter nothing.)
echo ************************************************************
echo.

::若不输入任何项目对应编号, 则脚本会自动去读工程里的user_config.h里的PROJECT_NUM宏定义做判断识别.

echo.(Project name) = (Project number)
echo.JC-1(No charge) = 0
echo.LS2021ULB(With charge) = 1
echo.

echo.For Example, input project number 0 if choose JC-1
set /p devType=Input the project number: 

echo.%devType%

perl nrfota.pl %devType%

pause